﻿<%@ Page Language="C#" MasterPageFile="~/Shared/Masters/Form.master" AutoEventWireup="true" CodeFile="TraceDetail.aspx.cs"  Theme="Default"
Inherits="Modules_FlowTrace_TraceDetail" Title="流程跟踪详细" %>

<%@ Register Assembly="YYControls" Namespace="YYControls" TagPrefix="yyc" %>
<asp:Content ID="Content2" ContentPlaceHolderID="idFormMain" Runat="Server">
    <h2>
       <asp:Label ID="lblTitle" runat="server" Text="流程跟踪详细" ></asp:Label>
    </h2>
<div>
    <table cellpadding='2' cellspacing='1' class='ow_fim_mg' width='100%'>
        <tr>
            <td class='fi_l' colspan="4">
                <asp:Label ID="lbCode" runat="server" Text="流程描述:"></asp:Label><asp:Label ID="lblFlowDesc" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class='fi_l'>
                <asp:Label ID="lbOrg" runat="server" Text="开始时间："></asp:Label><asp:Label ID="lblBeginDate" runat="server"></asp:Label>
            </td>
            <td class='fi_r'>
                <asp:Label ID="Label1" runat="server" Text="结束时间:"></asp:Label><asp:Label ID="lblEndDate" runat="server"></asp:Label>
            </td>
            <td class='fi_l'>
                <asp:Label ID="Label3" runat="server" Text="当前步骤："></asp:Label><asp:Label ID="lblCurrentStep" runat="server"></asp:Label>
            </td>
            <td class='fi_r'>
                <asp:Label ID="Label2" runat="server" Text="状态:"></asp:Label><asp:Label ID="lblStatus" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class='fi_l' colspan="4">
                <asp:Label ID="Label4" runat="server" Text="备注:"></asp:Label><asp:Label ID="lblRemark" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="4"><div style="width:700px;overflow-x: scroll;">
                <yyc:SmartGridView ID="gvTraceList" runat="server" AutoGenerateColumns="False" AllowSorting="False" OnRowDataBound="gvTraceList_RowDataBound"
        EmptyDataText="没有找到数据!">
        <FixRowColumn FixRowType="Header,Pager" FixColumns="0,1"></FixRowColumn>

        <Columns>
            <asp:BoundField DataField="Step_ID" HeaderText="步骤" />
            <asp:BoundField DataField="User_ID" HeaderText="处理人" ItemStyle-Wrap="true" />
            <asp:BoundField DataField="Flow_Time" HeaderText="时间" />
            <asp:BoundField DataField="Is_Past" HeaderText="是否通过" />
            <asp:BoundField DataField="Comment" HeaderText="意见" />
            <asp:TemplateField HeaderText="附件">
                <itemtemplate>
                    <span id="spnAttachList" runat="server" idValue='<%# Eval("ID") %>'></span>
</itemtemplate>
                <controlstyle forecolor="Black" />
                <headerstyle wrap="False" horizontalalign="Center" />
                <itemstyle horizontalalign="Center" forecolor="Black" />
            </asp:TemplateField>
        </Columns>
        <FixRowColumn FixRowType="Header,Pager" FixColumns="" />
    </yyc:SmartGridView></div>
            </td>
        </tr>
    </table>
</div>

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="idFormButton" Runat="Server">
    <asp:Button ID="CloseButton" runat="server" Text="关闭" 
        OnClientClick="return closeForm();" />   
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="idScript" runat="Server">

    <script type="text/javascript">
        function closeForm() {
            window.returnValue="false";
            window.opener=null;
            window.close();
            return false;
        } 
       
           
    </script>

</asp:Content>



